#ifndef CAMERAMONITER_H
#define CAMERAMONITER_H

#include <QDialog>
#include <QHash>
#include <boost/shared_ptr.hpp>

namespace Ui {
    class CameraMoniter;
}
class CameraGroupView;
class ClientGroupCenter;

class CameraMoniter : public QDialog {
    Q_OBJECT
public:
    CameraMoniter(QWidget *parent = 0);
    ~CameraMoniter();
private slots:
	void onGroupChanged(int opType, int opId);
private:
	void createGroupTabs();
protected:
    void changeEvent(QEvent *e);
	void closeEvent(QCloseEvent *e);
private:
    Ui::CameraMoniter *ui;
	boost::shared_ptr<ClientGroupCenter> m_ClientGroupCenter;
	QHash<int,CameraGroupView*> m_GroupIdToView;
};

#endif // CAMERAMONITER_H
